define({ "api": [
  {
    "type": "get",
    "url": "/aboutus",
    "title": "关于我们列表",
    "description": "<p>关于我们列表</p>",
    "group": "AboutUs",
    "permission": [
      {
        "name": "none"
      }
    ],
    "version": "1.0.0",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n   status_code:200\n   data:[{\n       titel:\"\",\n       id:1\n   },\n   {\n       titel:\"\",\n       id:2\n   }]\n}",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/AboutUsController.php",
    "groupTitle": "AboutUs",
    "name": "GetAboutus",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/aboutus"
      }
    ]
  },
  {
    "type": "get",
    "url": "/aboutus/{id}",
    "title": "关于我们详情/帮助详情",
    "description": "<p>关于我们详情/帮助详情</p>",
    "group": "AboutUs",
    "permission": [
      {
        "name": "none"
      }
    ],
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "number",
            "optional": true,
            "field": "id",
            "description": "<p>id</p>"
          }
        ]
      }
    },
    "version": "1.0.0",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n\n  \"id\": 1,\n  \"subject\": \"少时诵诗书\",\n  \"titel\": \"三生三世\",\n  \"type\": 1,\n  \"created_at\": 4038-5-3 9:23:44,\n  \"updated_at\": null,\n  \"status_code\":200\n\n}",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/AboutUsController.php",
    "groupTitle": "AboutUs",
    "name": "GetAboutusId",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/aboutus/{id}"
      }
    ]
  },
  {
    "type": "post",
    "url": "/about_help",
    "title": "帮助中心",
    "group": "AboutUs",
    "permission": [
      {
        "name": "None"
      }
    ],
    "version": "1.0.0",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n {\n     \"status_code\": 200,\n     \"data\": [\n         {\n             \"id\": 12,\n             \"title\": \"帮助中心\",\n             \"type\": 6,\n             \"content\": \"帮助中心\",\n             \"status\": 1,\n             \"service_type\": 0,\n             \"created_at\": null,\n             \"updated_at\": null\n         }\n     ]\n }",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/AboutUsController.php",
    "groupTitle": "AboutUs",
    "name": "PostAbout_help",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/about_help"
      }
    ]
  },
  {
    "type": "post",
    "url": "/aboutus_contact",
    "title": "联系客服",
    "description": "<p>联系客服</p>",
    "group": "AboutUs",
    "permission": [
      {
        "name": "jwt"
      }
    ],
    "version": "1.0.0",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 204 NO CONTENT\n   {\n       \"data\":{\n               \"title\":\"易维太古服务电话\",\n               \"content\":\"15712954711\"\n           },\n       \"status_code\":200\n   }",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/AboutUsController.php",
    "groupTitle": "AboutUs",
    "name": "PostAboutus_contact",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/aboutus_contact"
      }
    ]
  },
  {
    "type": "post",
    "url": "/aboutus_rights",
    "title": "会员权益展示",
    "description": "<p>会员权益展示 (memberRights detail)</p>",
    "group": "AboutUs",
    "permission": [
      {
        "name": "none"
      }
    ],
    "version": "1.0.0",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n\n}",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/AboutUsController.php",
    "groupTitle": "AboutUs",
    "name": "PostAboutus_rights",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/aboutus_rights"
      }
    ]
  },
  {
    "type": "post",
    "url": "/aboutus_rule",
    "title": "预约规则",
    "description": "<p>预约规则</p>",
    "group": "AboutUs",
    "permission": [
      {
        "name": "jwt"
      }
    ],
    "version": "1.0.0",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 403 Created\n   {\n       \"data\":{\n            \"content\":\"预约规则\"\n         },\n       \"status_code\":200\n   }",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/AboutUsController.php",
    "groupTitle": "AboutUs",
    "name": "PostAboutus_rule",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/aboutus_rule"
      }
    ]
  },
  {
    "type": "get",
    "url": "/activity/{id}",
    "title": "活动详情",
    "description": "<p>活动详情(Activity detail)</p>",
    "group": "Activity",
    "permission": [
      {
        "name": "none"
      }
    ],
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>活动ID</p>"
          }
        ]
      }
    },
    "version": "1.0.0",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "status",
            "description": "<p>状态 0：未开启 1：开启 2；关闭.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "user_activity",
            "description": "<p>是否报名 0：未报名 1：已报名</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n  {\n  \"data\": {\n  \"id\": 1,\n  \"title\": \"测试\",\n  \"img\": \"\",\n  \"video_url\": \"\",\n  \"place\": \"北京市\",\n  \"start\": \"0000-00-00 00:00:00\",\n  \"end\": \"0000-00-00 00:00:00\",\n  \"text\": \"\",\n  \"price\": \"0.00\",\n  \"limit_num\": 0,\n  \"number\": null,\n  \"type\": 1,\n  \"status\": 0,\n  \"c_time\": null,\n  \"u_time\": \"2018-05-16 08:22:09\",\n  \"created_at\": null,\n  \"updated_at\": \"2018-05-16 16:22:09\",\n  \"user_activity\": 1\n  }\n  }",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/ActivityController.php",
    "groupTitle": "Activity",
    "name": "GetActivityId",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/activity/{id}"
      }
    ]
  },
  {
    "type": "get",
    "url": "/activitys",
    "title": "活动列表",
    "description": "<p>活动列表(Activity list)</p>",
    "group": "Activity",
    "permission": [
      {
        "name": "none"
      }
    ],
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "allowedValues": [
              "'comments:limit(x)'",
              "'user'"
            ],
            "optional": true,
            "field": "include",
            "description": "<p>include</p>"
          }
        ]
      }
    },
    "version": "1.0.0",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n  {\n  \"data\": [\n  {\n  \"id\": 1,\n  \"title\": \"测试\",\n  \"img\": \"\",\n  \"video_url\": \"\",\n  \"place\": \"北京市\",\n  \"start\": \"0000-00-00 00:00:00\",\n  \"end\": \"0000-00-00 00:00:00\",\n  \"text\": \"\",\n  \"price\": \"0.00\",\n  \"limit_num\": 0,\n  \"type\": 1,\n  \"status\": 0,\n  \"c_time\": null,\n  \"u_time\": \"2018-05-13 02:48:54\",\n  \"created_at\": null,\n  \"updated_at\": null\n  },\n  {\n  \"id\": 2,\n  \"title\": \"测试2\",\n  \"img\": \"\",\n  \"video_url\": \"\",\n  \"place\": \"\",\n  \"start\": \"0000-00-00 00:00:00\",\n  \"end\": \"0000-00-00 00:00:00\",\n  \"text\": \"\",\n  \"price\": \"0.00\",\n  \"limit_num\": 0,\n  \"type\": 1,\n  \"status\": 0,\n  \"c_time\": null,\n  \"u_time\": \"2018-05-13 02:49:39\",\n  \"created_at\": null,\n  \"updated_at\": null\n  }\n  ]\n  }",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/ActivityController.php",
    "groupTitle": "Activity",
    "name": "GetActivitys",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/activitys"
      }
    ]
  },
  {
    "type": "post",
    "url": "/activity/{id}",
    "title": "报名活动",
    "description": "<p>报名活动</p>",
    "group": "Activity",
    "permission": [
      {
        "name": "jwt"
      }
    ],
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>活动ID</p>"
          }
        ]
      }
    },
    "version": "1.0.0",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 201 Created",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/ActivityController.php",
    "groupTitle": "Activity",
    "name": "PostActivityId",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/activity/{id}"
      }
    ]
  },
  {
    "type": "get",
    "url": "/banners",
    "title": "广告列表",
    "description": "<p>广告列表(Banner list)</p>",
    "group": "Banner",
    "permission": [
      {
        "name": "none"
      }
    ],
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": "<p>广告类型 1 首页 2 二级</p>"
          }
        ]
      }
    },
    "version": "1.0.0",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n  {\n  \"data\": [\n  {\n  \"id\": 1,\n  \"name\": \"ces\",\n  \"url\": \"\",\n  \"img\": \"\",\n  \"description\": \"\",\n  \"status\": 1,\n  \"sorts\": 0,\n  \"c_time\": null,\n  \"u_time\": null,\n  \"created_at\": null,\n  \"updated_at\": null\n  },\n  {\n  \"id\": 2,\n  \"name\": \"sd\",\n  \"url\": \"\",\n  \"img\": \"\",\n  \"description\": \"\",\n  \"status\": 1,\n  \"sorts\": 0,\n  \"c_time\": null,\n  \"u_time\": null,\n  \"created_at\": null,\n  \"updated_at\": null\n  }\n  ]\n  }",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/BannerController.php",
    "groupTitle": "Banner",
    "name": "GetBanners",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/banners"
      }
    ]
  },
  {
    "type": "get",
    "url": "/feedbacks",
    "title": "得到反馈列表",
    "description": "<p>得到反馈列表</p>",
    "group": "FeedBack",
    "permission": [
      {
        "name": "jwt"
      }
    ],
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": "<p>反馈类型</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "problem_describe",
            "description": "<p>内容</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "problem_picture",
            "description": "<p>图片</p>"
          }
        ]
      }
    },
    "version": "1.0.0",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/FeedbackController.php",
    "groupTitle": "FeedBack",
    "name": "GetFeedbacks",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/feedbacks"
      }
    ]
  },
  {
    "type": "post",
    "url": "/feedback",
    "title": "用户提交反馈",
    "description": "<p>发布用户反馈</p>",
    "group": "FeedBack",
    "permission": [
      {
        "name": "jwt"
      }
    ],
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": "<p>反馈类型</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "problem_describe",
            "description": "<p>内容</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "problem_picture",
            "description": "<p>图片</p>"
          }
        ]
      }
    },
    "version": "1.0.0",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/FeedbackController.php",
    "groupTitle": "FeedBack",
    "name": "PostFeedback",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/feedback"
      }
    ]
  },
  {
    "type": "post",
    "url": "/feedback/uploadimg",
    "title": "新增照片",
    "description": "<p>新增照片</p>",
    "group": "FeedBack",
    "permission": [
      {
        "name": "jwt"
      }
    ],
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "file",
            "optional": false,
            "field": "album",
            "description": "<p>照片文件</p>"
          }
        ]
      }
    },
    "version": "1.0.0",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 201 Created\n  {\n  \"data\": \"/uploads/feedback/201807/24172726.png\"\n  }",
          "type": "json"
        }
      ]
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "    HTTP/1.1 404\n{\n    \"message\": \"上传文件为空！\",\n    \"status_code\": 404,\n}",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/FeedbackController.php",
    "groupTitle": "FeedBack",
    "name": "PostFeedbackUploadimg",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/feedback/uploadimg"
      }
    ]
  },
  {
    "type": "get",
    "url": "/message/{id}",
    "title": "消息详情",
    "description": "<p>消息详情(Message detail)</p>",
    "group": "Message",
    "permission": [
      {
        "name": "none"
      }
    ],
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "allowedValues": [
              "'comments'",
              "'user'"
            ],
            "optional": true,
            "field": "include",
            "description": "<p>include</p>"
          }
        ]
      }
    },
    "version": "1.0.0",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"data\": {\n    \"id\": 1,\n    \"user_id\": 3,\n    \"title\": \"foo\",\n    \"content\": \"\",\n    \"created_at\": \"2016-03-30 15:36:30\",\n    \"user\": {\n      \"data\": {\n        \"id\": 3,\n        \"email\": \"foo@bar.com1\",\n        \"name\": \"\",\n        \"avatar\": \"\",\n        \"created_at\": \"2016-03-30 15:34:01\",\n        \"updated_at\": \"2016-03-30 15:34:01\",\n        \"deleted_at\": null\n      }\n    },\n    \"comments\": {\n      \"data\": [\n        {\n          \"id\": 1,\n          \"post_id\": 1,\n          \"user_id\": 1,\n          \"reply_user_id\": 0,\n          \"content\": \"foobar\",\n          \"created_at\": \"2016-04-06 14:51:34\"\n        }\n      ],\n      \"meta\": {\n        \"total\": 1\n      }\n    }\n  }\n}",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/MessageController.php",
    "groupTitle": "Message",
    "name": "GetMessageId",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/message/{id}"
      }
    ]
  },
  {
    "type": "get",
    "url": "/messages",
    "title": "系统消息",
    "description": "<p>系统消息(Message list)</p>",
    "group": "Message",
    "permission": [
      {
        "name": "none"
      }
    ],
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "allowedValues": [
              "'comments:limit(x)'",
              "'user'"
            ],
            "optional": true,
            "field": "include",
            "description": "<p>include</p>"
          }
        ]
      }
    },
    "version": "1.0.0",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"data\": [\n    {\n      \"id\": 1,\n      \"user_id\": 3,\n      \"title\": \"foo\",\n      \"content\": \"\",\n      \"created_at\": \"2016-03-30 15:36:30\",\n      \"user\": {\n        \"data\": {\n          \"id\": 3,\n          \"email\": \"foo@bar.com1\",\n          \"name\": \"\",\n          \"avatar\": \"\",\n          \"created_at\": \"2016-03-30 15:34:01\",\n          \"updated_at\": \"2016-03-30 15:34:01\",\n          \"deleted_at\": null\n        }\n      },\n      \"comments\": {\n        \"data\": [],\n        \"meta\": {\n          \"total\": 0\n        }\n      }\n    }\n  ],\n  \"meta\": {\n    \"pagination\": {\n      \"total\": 2,\n      \"count\": 2,\n      \"per_page\": 15,\n      \"current_page\": 1,\n      \"total_pages\": 1,\n      \"links\": []\n    }\n  }\n}",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/MessageController.php",
    "groupTitle": "Message",
    "name": "GetMessages",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/messages"
      }
    ]
  },
  {
    "type": "post",
    "url": "/message",
    "title": "发送",
    "description": "<p>发送</p>",
    "group": "Message",
    "permission": [
      {
        "name": "jwt"
      }
    ],
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "member_id",
            "description": "<p>对方ID title</p>"
          }
        ]
      }
    },
    "version": "1.0.0",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 201 Created",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/MessageController.php",
    "groupTitle": "Message",
    "name": "PostMessage",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/message"
      }
    ]
  },
  {
    "type": "post",
    "url": "/create-order",
    "title": "微信支付",
    "description": "<p>创建订单号</p>",
    "group": "Order",
    "permission": [
      {
        "name": "JWT"
      }
    ],
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "number",
            "optional": false,
            "field": "order_price",
            "description": "<p>订单价格</p>"
          },
          {
            "group": "Parameter",
            "type": "number",
            "optional": false,
            "field": "pay_method",
            "description": "<p>支付方式 1账户余额 2微信 3支付宝</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 Ok\n  {\n      \"return_code\": \"SUCCESS\",\n      \"return_msg\": \"OK\",\n      \"appid\": \"wxe57460b38d5cf48c\",\n      \"mch_id\": \"1508388061\",\n      \"nonce_str\": \"kEcBHnjVcPfUpjh7\",\n      \"sign\": \"C0D9A1ACF2FEC30879FC20D81D0CE48E\",\n      \"result_code\": \"SUCCESS\",\n      \"prepay_id\": \"wx2316515323262556e7b80df63458831103\",\n      \"trade_type\": \"JSAPI\"\n  }",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/OrderController.php",
    "groupTitle": "Order",
    "name": "PostCreateOrder",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/create-order"
      }
    ]
  },
  {
    "type": "get",
    "url": "/memberpoint/{id}",
    "title": "查看积分日志",
    "description": "<p>修改积分日志</p>",
    "group": "Point",
    "permission": [
      {
        "name": "jwt"
      }
    ],
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "title",
            "description": "<p>PointLog title</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "content",
            "description": "<p>PointLog content</p>"
          }
        ]
      }
    },
    "version": "1.0.0",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 204 NO CONTENT",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/PointLogController.php",
    "groupTitle": "Point",
    "name": "GetMemberpointId",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/memberpoint/{id}"
      }
    ]
  },
  {
    "type": "get",
    "url": "/memberpoints",
    "title": "积分日志列表",
    "description": "<p>积分日志列表</p>",
    "group": "Point",
    "permission": [
      {
        "name": "none"
      }
    ],
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "title",
            "description": "<p>PointLog title</p>"
          }
        ]
      }
    },
    "version": "1.0.0",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n  \"data\": [\n    {\n      \"id\": 1,\n      \"user_id\": 3,\n      \"title\": \"foo\",\n      \"content\": \"\",\n      \"created_at\": \"2016-03-30 15:36:30\",\n      \"user\": {\n        \"data\": {\n          \"id\": 3,\n          \"email\": \"foo@bar.com1\",\n          \"name\": \"\",\n          \"avatar\": \"\",\n          \"created_at\": \"2016-03-30 15:34:01\",\n          \"updated_at\": \"2016-03-30 15:34:01\",\n          \"deleted_at\": null\n        }\n      },\n      \"comments\": {\n        \"data\": [],\n        \"meta\": {\n          \"total\": 0\n        }\n      }\n    }\n  ],\n  \"meta\": {\n    \"pagination\": {\n      \"total\": 2,\n      \"count\": 2,\n      \"per_page\": 15,\n      \"current_page\": 1,\n      \"total_pages\": 1,\n      \"links\": []\n    }\n  }\n}",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/PointLogController.php",
    "groupTitle": "Point",
    "name": "GetMemberpoints",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/memberpoints"
      }
    ]
  },
  {
    "type": "get",
    "url": "/rules",
    "title": "积分规则列表",
    "description": "<p>积分规则列表</p>",
    "group": "Point",
    "permission": [
      {
        "name": "none"
      }
    ],
    "version": "1.0.0",
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "id",
            "description": "<p>规则名ID</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "rulename",
            "description": "<p>规则名称.</p>"
          },
          {
            "group": "Success 200",
            "type": "String",
            "optional": false,
            "field": "action",
            "description": "<p>积分项.</p>"
          },
          {
            "group": "Success 200",
            "type": "Number",
            "optional": false,
            "field": "point",
            "description": "<p>积分值.</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n  {\n  \"data\": [\n  {\n  \"id\": 2,\n  \"rulename\": \"测试规则\",\n  \"action\": \"\",\n  \"point\": 0\n  },\n  {\n  \"id\": 1,\n  \"rulename\": \"阿斯蒂\",\n  \"action\": \"12312\",\n  \"point\": 10\n  }\n  ]\n  }",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/PointRuleController.php",
    "groupTitle": "Point",
    "name": "GetRules",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/rules"
      }
    ]
  },
  {
    "type": "get",
    "url": "/pointgoods/{id}",
    "title": "积分商品详情",
    "description": "<p>积分商品详情(PointGoods detail)</p>",
    "group": "PointGoods",
    "permission": [
      {
        "name": "none"
      }
    ],
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "allowedValues": [
              "'comments'",
              "'user'"
            ],
            "optional": true,
            "field": "include",
            "description": "<p>include</p>"
          }
        ]
      }
    },
    "version": "1.0.0",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n  {\n  \"data\": {\n  \"id\": 1,\n  \"name\": \"测试商品\",\n  \"img\": \"\",\n  \"point\": 0,\n  \"status\": 1,\n  \"stock\": 0,\n  \"c_time\": 0,\n  \"u_time\": 0,\n  \"created_at\": null,\n  \"updated_at\": null\n  }\n  }",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/PointGoodsController.php",
    "groupTitle": "PointGoods",
    "name": "GetPointgoodsId",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/pointgoods/{id}"
      }
    ]
  },
  {
    "type": "get",
    "url": "/pointgoodslist",
    "title": "积分商品列表",
    "description": "<p>积分商品列表(PointGoods list)</p>",
    "group": "PointGoods",
    "permission": [
      {
        "name": "none"
      }
    ],
    "version": "1.0.0",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n  {\n  \"data\": [\n  {\n  \"id\": 1,\n  \"name\": \"测试商品\",\n  \"img\": \"\",\n  \"point\": 0,\n  \"status\": 1,\n  \"stock\": 0,\n  \"c_time\": 0,\n  \"u_time\": 0,\n  \"created_at\": null,\n  \"updated_at\": null\n  }\n  ],\n  \"meta\": {\n  \"pagination\": {\n  \"total\": 1,\n  \"count\": 1,\n  \"per_page\": 15,\n  \"current_page\": 1,\n  \"total_pages\": 1,\n  \"links\": null\n  }\n  }\n  }",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/PointGoodsController.php",
    "groupTitle": "PointGoods",
    "name": "GetPointgoodslist",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/pointgoodslist"
      }
    ]
  },
  {
    "type": "get",
    "url": "/pointgoodswithinlist",
    "title": "查询积分商品详情列表",
    "description": "<p>积分商品详情</p>",
    "group": "PointGoods",
    "permission": [
      {
        "name": "none"
      }
    ],
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "ids",
            "description": "<p>逗号','分隔</p>"
          }
        ]
      }
    },
    "version": "1.0.0",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n  {\n  \"data\": [\n  {\n  \"id\": 1,\n  \"name\": \"测试商品\",\n  \"img\": \"\",\n  \"point\": 0,\n  \"status\": 1,\n  \"stock\": 0,\n  \"c_time\": 0,\n  \"u_time\": 0,\n  \"created_at\": null,\n  \"updated_at\": null\n  },\n  {\n  \"id\": 2,\n  \"name\": \"的风格\",\n  \"img\": \"\",\n  \"point\": 0,\n  \"status\": 0,\n  \"stock\": 0,\n  \"c_time\": 0,\n  \"u_time\": 0,\n  \"created_at\": null,\n  \"updated_at\": null\n  }\n  ]\n  }",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/PointGoodsController.php",
    "groupTitle": "PointGoods",
    "name": "GetPointgoodswithinlist",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/pointgoodswithinlist"
      }
    ]
  },
  {
    "type": "get",
    "url": "/pointorder/{id}",
    "title": "订单详情",
    "description": "<p>订单详情</p>",
    "group": "PointOrder",
    "permission": [
      {
        "name": "none"
      }
    ],
    "version": "1.0.0",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n  {\n  \"data\": {\n  \"id\": 1,\n  \"member_id\": 1,\n  \"order_no\": \"\",\n  \"order_status\": 0,\n  \"goods_id\": 0,\n  \"name\": \"\",\n  \"point\": 0\n  }\n  }",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/PointOrderController.php",
    "groupTitle": "PointOrder",
    "name": "GetPointorderId",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/pointorder/{id}"
      }
    ]
  },
  {
    "type": "get",
    "url": "/pointorders",
    "title": "积分订单列表",
    "description": "<p>积分订单列表</p>",
    "group": "PointOrder",
    "permission": [
      {
        "name": "none"
      }
    ],
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "type",
            "description": "<p>0 代表待处理 ，1代表已完成</p>"
          }
        ]
      }
    },
    "version": "1.0.0",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n  {\n  \"data\": [\n  {\n  \"id\": 1,\n  \"member_id\": 1,\n  \"order_no\": \"\",\n  \"order_status\": 0,\n  \"goods_id\": 0,\n  \"name\": \"\",\n  \"point\": 0\n  }\n  ],\n  \"meta\": {\n  \"pagination\": {\n  \"total\": 1,\n  \"count\": 1,\n  \"per_page\": 15,\n  \"current_page\": 1,\n  \"total_pages\": 1,\n  \"links\": null\n  }\n  }\n  }",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/PointOrderController.php",
    "groupTitle": "PointOrder",
    "name": "GetPointorders",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/pointorders"
      }
    ]
  },
  {
    "type": "post",
    "url": "/pointorder",
    "title": "生成订单",
    "description": "<p>生成订单</p>",
    "group": "PointOrder",
    "permission": [
      {
        "name": "jwt"
      }
    ],
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "json",
            "optional": false,
            "field": "goodlist",
            "description": "<p>包含商品ID id，数量 num</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "points",
            "description": "<p>总积分</p>"
          }
        ]
      }
    },
    "version": "1.0.0",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 201 Created",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/PointOrderController.php",
    "groupTitle": "PointOrder",
    "name": "PostPointorder",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/pointorder"
      }
    ]
  },
  {
    "type": "put",
    "url": "/order/{id}",
    "title": "确认收货",
    "description": "<p>确认收货</p>",
    "group": "PointOrder",
    "permission": [
      {
        "name": "jwt"
      }
    ],
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "id",
            "description": "<p>订单号</p>"
          }
        ]
      }
    },
    "version": "1.0.0",
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 204 NO CONTENT",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/PointOrderController.php",
    "groupTitle": "PointOrder",
    "name": "PutOrderId",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/order/{id}"
      }
    ]
  },
  {
    "type": "post",
    "url": "/minicode",
    "title": "小程序微信代码返回",
    "description": "<p>通过code 获取openid session_key</p>",
    "group": "Wechat",
    "permission": [
      {
        "name": "@apiVersion 1.0.0"
      }
    ],
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "code",
            "description": "<p>微信端获取到的code</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "token",
            "description": "<p>token</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "phone",
            "description": "<p>是否绑定 0 未绑定 1 已绑定</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "status",
            "description": "<p>审核是否通过:0.未提交1.审核中2.通过3.拒绝' 为0时需要补充资料，1，2 是正常状态，3是拒绝状态</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "expired_at",
            "description": "<p>过期时间</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "refresh_expired_at",
            "description": "<p>刷新时间</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n  {\n  \"data\": {\n  \"token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vYmFzZS53ZWl5aW5namlhLm9yZy9hcGkvYmFzZS9taW5pY29kZSIsImlhdCI6MTUzMjQwMTAyMCwiZXhwIjoxNTMyNDA0NjIwLCJuYmYiOjE1MzI0MDEwMjAsImp0aSI6Imh6ejVjVWNPNndPckNFeFEiLCJzdWIiOjIsInBydiI6ImE3ZDY0N2NhZGFhOGZhM2U4YmRlMGI1Yjg2ZjU3ZDE0YjAzYTA1ZDYifQ.OzCIRLI0eDuG7yiE8--XpBrq69ehnh3zSChTUhSdUsk\",\n  \"phone\": 0,\n  \"status\": 0,\n  \"expired_at\": \"2018-07-24 11:57:00\",\n  \"refresh_expired_at\": \"2018-08-07 10:57:00\"\n  }\n  }",
          "type": "json"
        }
      ]
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "    HTTP/1.1 400\n{\n    \"message\": \"code 无效\",\n    \"status_code\": 400,\n}",
          "type": "json"
        }
      ]
    },
    "version": "0.0.0",
    "filename": "App/Http/Controllers/Api/V1/Base/MiniProgramLoginController.php",
    "groupTitle": "Wechat",
    "name": "PostMinicode",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/minicode"
      }
    ]
  },
  {
    "type": "post",
    "url": "/wechatcode",
    "title": "微信代码返回",
    "description": "<p>通过code 获取openid session_key</p>",
    "group": "Wechat",
    "permission": [
      {
        "name": "jwt"
      }
    ],
    "version": "1.0.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "String",
            "optional": false,
            "field": "code",
            "description": "<p>微信端获取到的code</p>"
          }
        ]
      }
    },
    "success": {
      "fields": {
        "Success 200": [
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "token",
            "description": "<p>token</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "phone",
            "description": "<p>是否绑定 0 未绑定 1 已绑定</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "status",
            "description": "<p>审核是否通过:0.未提交1.审核中2.通过3.拒绝' 为0时需要补充资料，1，2 是正常状态，3是拒绝状态</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "expired_at",
            "description": "<p>过期时间</p>"
          },
          {
            "group": "Success 200",
            "type": "string",
            "optional": false,
            "field": "refresh_expired_at",
            "description": "<p>刷新时间</p>"
          }
        ]
      },
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n  {\n  \"data\": {\n  \"token\": \"eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJodHRwOi8vYmFzZS53ZWl5aW5namlhLm9yZy9hcGkvYmFzZS93ZWNoYXRjb2RlIiwiaWF0IjoxNTMyNDAwOTAyLCJleHAiOjE1MzI0MDQ1MDIsIm5iZiI6MTUzMjQwMDkwMiwianRpIjoibUFRbFFuOGpLQXR2T3JsNiIsInN1YiI6MSwicHJ2IjoiYTdkNjQ3Y2FkYWE4ZmEzZThiZGUwYjViODZmNTdkMTRiMDNhMDVkNiJ9.RerbIoUyFo5S4BY0UBbYQ7YLd29qvGKvzw-WosaR2dc\",\n  \"phone\": 1,\n  \"status\": 0,\n  \"expired_at\": \"2018-07-24 11:55:02\",\n  \"refresh_expired_at\": \"2018-08-07 10:55:02\"\n  }\n  }",
          "type": "json"
        }
      ]
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "    HTTP/1.1 400\n{\n    \"message\": \"code 无效\",\n    \"status_code\": 400,\n}",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/WechatLoginController.php",
    "groupTitle": "Wechat",
    "name": "PostWechatcode",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/wechatcode"
      }
    ]
  },
  {
    "type": "post",
    "url": "/code",
    "title": "发送验证码(code)",
    "description": "<p>验证码(code)</p>",
    "group": "login",
    "version": "0.1.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "phone",
            "description": "<p>电话号码</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n}",
          "type": "json"
        }
      ]
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "    HTTP/1.1 403 Forbidden\n{\n  \"message\": \"请输入正确的手机号!\",\n  \"status_code\": 403,\n}",
          "type": "json"
        },
        {
          "title": "Error-Response:",
          "content": "    HTTP/1.1 422 Unprocessable Entity\n{\n  \"message\": \"422 Unprocessable Entity\",\n  \"errors\": [\n  {\n  \"field\": \"phone\",\n  \"code\": \"The phone field is required.\"\n  }\n  ],\n  \"status_code\": 422\n}",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/LoginController.php",
    "groupTitle": "login",
    "name": "PostCode",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/code"
      }
    ]
  },
  {
    "type": "post",
    "url": "/login",
    "title": "登录",
    "description": "<p>登录</p>",
    "group": "login",
    "permission": [
      {
        "name": "JWT"
      }
    ],
    "version": "0.1.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "phone",
            "description": "<p>phone</p>"
          },
          {
            "group": "Parameter",
            "type": "String",
            "optional": true,
            "field": "password",
            "description": "<p>password</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n   \"id\": 1\n \"state\":1\n}",
          "type": "json"
        }
      ]
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "  HTTP/1.1 401\n{\n  \"message\": \"phone or password is incorrect\",\n  \"status_code\": 401,\n}",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/LoginController.php",
    "groupTitle": "login",
    "name": "PostLogin",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/login"
      }
    ]
  },
  {
    "type": "post",
    "url": "/phone",
    "title": "绑定手机",
    "description": "<p>绑定手机</p>",
    "group": "login",
    "version": "0.1.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "phone",
            "description": "<p>电话号码</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "code",
            "description": "<p>验证码</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n}",
          "type": "json"
        }
      ]
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "HTTP/1.1 404 Not Found\n{\n\"message\": \"短信已过期\",\n\"status_code\": 403,\n}",
          "type": "json"
        },
        {
          "title": "Error-Response:",
          "content": "  HTTP/1.1 404 Not Found\n{\n  \"message\": \"未发送短信\",\n  \"status_code\": 404,\n}",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/LoginController.php",
    "groupTitle": "login",
    "name": "PostPhone",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/phone"
      }
    ]
  },
  {
    "type": "post",
    "url": "/updatephone",
    "title": "更新绑定手机",
    "description": "<p>更新绑定手机</p>",
    "group": "login",
    "version": "0.1.0",
    "parameter": {
      "fields": {
        "Parameter": [
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "oldphone",
            "description": "<p>旧电话号码</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "phone",
            "description": "<p>电话号码</p>"
          },
          {
            "group": "Parameter",
            "type": "Number",
            "optional": true,
            "field": "code",
            "description": "<p>验证码</p>"
          }
        ]
      }
    },
    "success": {
      "examples": [
        {
          "title": "Success-Response:",
          "content": "HTTP/1.1 200 OK\n{\n}",
          "type": "json"
        }
      ]
    },
    "error": {
      "examples": [
        {
          "title": "Error-Response:",
          "content": "  HTTP/1.1 404 Not Found\n  {\n  \"error\": \"UserNotFound\",\n  \"message\": \"User {user_id} doesn't exist\"\n  }\n{\n  \"message\": \"未发送短信\",\n  \"status_code\": 404,\n}",
          "type": "json"
        }
      ]
    },
    "filename": "App/Http/Controllers/Api/V1/Base/LoginController.php",
    "groupTitle": "login",
    "name": "PostUpdatephone",
    "sampleRequest": [
      {
        "url": "http://base.weiyingjia.org/api/base/updatephone"
      }
    ]
  }
] });
